﻿using System;

namespace yt.DataModel
{
    public class Task 
    {
        public long Id { get; set; }

        public string Description { get; set; }

        public DateTime StartTime { get; set; }

        public DateTime EndTime { get; set; }

        //public bool Started { get; set; }

        //public List<ScreenPoint> ScreenPoints { get; set; }
        public bool IsNeedLoop { get; set; }
        public LoopType LoopType { get; set; }

        //public List<ScreenPoint> LoopEvent { get; set; }
        //public RunStatus RunStatus { get; set; }
        public int MinX { get; set; }
        public int MaxX { get; set; }
        public int MinY { get; set; }
        public int MaxY { get; set; }
        //[Field]
        //public int LoopCount { get; set; }
        public int LoopDeloy { get; set; }
        public bool IsResetScreen { get; set; }
        public int ResetDeloy { get; set; }
        //[Field]
        //public bool IsReseted { get; set; }
        public string WeekDay { get; set; }
    }

    public class OpData 
    {
        public long Id { get; set; }

        public long TaskId { get; set; }
        public int OpType { get; set; }

        public int X { get; set; }
        public int Y { get; set; }
        public int DeloyTime { get; set; }
        public KeyType KeyType { get; set; }
        public int keyInput { get; set; }
    }
}
